<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="/site_media/css/smoothness/jquery-ui-1.8.4.custom.css" type="text/css" media="all" />
    <link rel="stylesheet" href="/site_media/css/style.css" type="text/css"/>
    <script src="/site_media/js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="/site_media/js/jquery-ui-1.8.4.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/site_media/js/base.js"> </script>
    <script type="text/javascript" src="/site_media/js/visualize.jQuery.js"> </script>
    <script type="text/javascript" src="/site_media/jquery-jplayer/jquery.jplayer.min.js"> </script>
    <script type="text/javascript" src="/site_media/ckeditor/ckeditor/ckeditor.js"> </script>
    <title>{% block title %}{% endblock %}</title>
</head>
<body class='{% block body_class %}{% endblock %}' >
    <div id='login'>{% if user.is_authenticated %}{{user.last_name}} {{ user.first_name }}님이 로그인하셨습니다. <a href="/logout">로그아웃</a>{% else %}<a href="{% url django.contrib.auth.views.login %}">로그인</a>{% endif %}</div>
    <ul id="navi">
          <li class="dashboard">
               <a href="{% url dashboard.views.dash_organization_view %}">대시보드</a>
              <ul>
                  <li><a href="{% url dashboard.views.dash_organization_view %}"> 구성도 </a></li>
                  <li><a href="{% url dashboard.views.dash_graph_data_view %} "> 데이터보드</a></li>
              </ul>
           </li>
          <li class="customer">
              <a href="{% url customer_manage.views.list %}">고객 관리</a>
              <ul>
                  <li><a href="{% url customer_manage.views.list %}">고객 리스트</a></li>
                  <li><a href="{% url customer_manage.views.register %} ">고객 등록</a></li>
                  <li><a href="{% url paper.views.customer_list_attack_report %} ">공격대응보고서</a></li>
              </ul>
          </li>
		  <li class="operator">
		  	  <a href="{% url operator_manage.views.calendar %}">근무자 관리</a>
			  <ul>
			  	  <li><a href="{% url operator_manage.views.work_time_register %}">근무자 등록</a></li>
				  <li><a href="{% url operator_manage.views.vacation_register %}">근무자 휴가 등록</a></li>
				  <li><a href="{% url operator_manage.views.calendar %}">달력</a></li>
			  </ul>
		  </li>
          <li class="report">
              <a href="{% url report.views.daily %}">리포트</a>
              <ul>
                  <li><a href="{% url report.views.daily %}">일간 업무 보고</a></li>
                  <li><a href="{% url report.views.weekly %}">주간 업무 보고</a></li>
                  <li><a href="{% url report.views.monthly %}">월간 업무 보고</a></li>
                  <li><a href="{% url report.views.night %}">야간 관제 사항</a></li>
                  <li><a href="{% url report.views.takeover %}">인수 인계 보고</a></li>
              </ul>
          </li>
          <!--
          <li class="policy"><a href="#">차단 정책 설정</a></li>
          <li class="device"><a href="#">장비 관리</a></li>
              -->
          <li class="log">
              <a href="{% url log.views.eventlog_view %}">로그</a>
              <ul>
                  <li><a href="{% url log.views.eventlog_view %}">이벤트로그</a></li>
                    <!--
                  <li><a href="{% url log.views.log_view %}">로그</a></li>
                    -->
                  <li><a href="{% url log.views.backup %}">백업</a></li>
              </ul>
          </li>
          <li class="monitor">
              <a href="{% url monitor.views.conf_change %}">장비관리</a>
              <ul>
                  <li><a href="{% url monitor.views.traffic_status %}">트래픽현황</a></li>
                  <li><a href="{% url monitor.views.status %}">장비 현황</a></li>
                  <li><a href="{% url monitor.views.conf_change %}">장비 설정 변경</a></li>
                  <li><a href="{% url monitor.views.list_policy %}">정책관리</a></li>
              </ul>
          </li>
          <li class="todo">
              <a href="{% url todo.views.todo_list %}">특이사항 관리</a>
              <ul>
                  <li><a href="{% url todo.views.todo_list %}">특이사항 목록</a></li>
                  <li><a href="{% url todo.views.todo_save %}">특이사항 등록</a></li>
                  <li><a href="{% url todo.views.todo_logsave %}">특이사항 상세내용 등록</a></li>
              </ul>
          </li>
          <li class="flooding">
            <a href="http://192.168.100.62/html/" target=_blank>Get Flooding</a>
          </li>
     </ul>
      <script type="text/javascript">
      // <![CDATA[
          function notify(msg,timeout){
              var p = $("<div>  </ div>").html(msg);
              p.dialog({ position: [ "right" , "top"]  });
              p.dialog("option", "stack", false );
              p.delay(2000).fadeTo(timeout, 0.0 , function(){
                  $(this).dialog("destroy");
              });
          }

      $(document).ready(function(){
          if( 0 < $('ul.errorlist').length  ){
              $('ul.errorlist:first').next().focus();
          }
      });
      (function() {
          var host = $(location).attr('host');
          var bodyClass = document.body.className;
          var fadeout = null;
          $('#navi > li > a').mouseover(function() {
              if (fadeout) window.clearTimeout(fadeout);
              document.body.className = this.parentNode.className;
          }).mouseout(function() {
              fadeout = window.setTimeout(function() {
                  if (fadeout) window.clearTimeout(fadeout);
                  document.body.className = bodyClass;
              }, 1000);
          });

          $('#navi > li > ul').mouseover(function() {
              if (fadeout) window.clearTimeout(fadeout);
          });


      })();
      // ]]>
     </script>
     <h1>{% block head %}{% endblock %}</h1>
{% block content %}{% endblock %}
        <div id="jquery_jplayer"></div>
</body>
</html>
